package data;

import java.util.HashMap;

import org.apache.mina.core.session.IoSession;

public class WaitTable
{
	private String name;
	private HashMap<Long, IoSession> ioSessions = new HashMap<Long, IoSession>();
	public void addIoSession(IoSession ioSession)
	{
		ioSessions.put(ioSession.getId(), ioSession);
	}
	public void removeIoSession(IoSession ioSession)
	{
		ioSessions.remove(ioSession.getId());
	}
}
